package com.reggie;

import com.reggie.service.impl.SetMealDishServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ServletComponentScan
//添加事务管理器
@EnableTransactionManagement
public class ReggieApplication {

    private SetMealDishServiceImpl setMealDishService;

    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class, args);
    }

}
